package com.epichust.bootumpp.model.dao;

import com.epichust.bootumpp.model.entity.Umpp5ProRouteLine;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface Umpp5ProRouteLineDao {

    /**
     * 查询所有的产品工艺路线
     * @return
     */
    public List<Umpp5ProRouteLine> getAllUmpp5ProRouteLine(Map<String,Object> map);

    /**
     * 新增产品工艺路线信息
     * @param umpp5ProRouteLine
     * @return
     */
    int insertUmpp5ProRouteLine(Umpp5ProRouteLine umpp5ProRouteLine);

    /**
     * 根据产品工艺路线编码更新产品工艺路线信息
     * @param umpp5ProRouteLine
     * @return
     */
    int updateUmpp5ProRouteLine(Umpp5ProRouteLine umpp5ProRouteLine);
}
